package com.cn.dim.dao;

import java.util.List;
import java.util.Map;

import com.cn.dim.pojo.Dep;
import com.cn.dim.pojo.Position;

public interface DepDao {

	public List<Map<String,Object>> queryDep(Map<String,Object> m);
	public int insertDep(Dep dep);
	public int insertDepRPosition(List<Map<String,Object>> list);
	public List<Map<String,Object>> queryDepByLevel1(Map<String,Object> m);
	public List<com.cn.dim.pojo.Dep> queryDepartmentList(Map<String,Object> m);
	public Dep queryDepBeanById(Map<String,Object> m);
	public List<Map<String,Object>> queryDepAndPosition(Map<String,Object> m);
	public List<Map<String,Object>> checkChild(Map<String,Object> m);
	
	public int delDep(Map<String,Object> m);
	public int delDepAndpos(Map<String,Object> m);
	public int delUser_Dep_Pos(Map<String,Object> m);
	
	public int updateDep(Dep m);
	public int delDepAndposByid(Map<String,Object> m);
}
